package com.project.bean;
/**购物车实体类*/
public class ShopBean {
    /**购物车*/
    private GoodsBean goodsBean;
    /**数量*/
    private int num;

    public ShopBean() {
    }

    public ShopBean(GoodsBean goodsBean, int num) {
        this.goodsBean = goodsBean;
        this.num = num;
    }

    public GoodsBean getGoodsBean() {
        return goodsBean;
    }

    public void setGoodsBean(GoodsBean goodsBean) {
        this.goodsBean = goodsBean;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ShopBean{" +
                "goodsBean=" + goodsBean +
                ", num=" + num +
                '}';
    }
}
